package cn.scnu.model;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * <p>
 * 
 * </p>
 *
 * @author hqzqaq
 * @since 2024-12-10
 */
@Setter
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("w_3d_service_info")
@ApiModel(value = "3dServiceInfo对象", description = "")
public class W3dServiceInfoEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    private String parentId;

    @ApiModelProperty("数据名称")
    private String dataName;

    @ApiModelProperty("数据别名")
    private String otherName;

    @ApiModelProperty("三维数据类型")
    private String dataType;

    @ApiModelProperty("审批数据类型")
    private String approvalDataType;

    @ApiModelProperty("行政区划")
    private String administrativeRegion;

    @ApiModelProperty("数据发布时间")
    private LocalDate publishTime;

    @ApiModelProperty("服务发布地址")
    private String serviceUrl;

    @ApiModelProperty("数据存储地址")
    private String dataStorageAddr;

    @ApiModelProperty("是否为目录")
    private Boolean isDirectory;

    @Override
    public String toString() {
        return "cn.scnu.model.entity.{" +
            "id = " + id +
            ", parentId = " + parentId +
            ", dataName = " + dataName +
            ", approvalDataType = " + approvalDataType +
            ", administrativeRegion = " + administrativeRegion +
            ", publishTime = " + publishTime +
            ", serviceUrl = " + serviceUrl +
            ", dataStorageAddr = " + dataStorageAddr +
        "}";
    }
}
